<!--
 * @Descripttion: 
 * @version: 
 * @Author: sueRimn
 * @Date: 2020-05-14 16:40:12
 * @LastEditors: sueRimn
 * @LastEditTime: 2020-05-14 16:48:45
 -->
{include file="public/header" /}

<style>
    body{
        background: #FFF;
    }

</style>

<div class="page">
    <table class="ds-default-table order">
        <tbody>
        <tr>
            <th>订单基本信息</th>
        </tr>
        <tr>
            <td colspan="2">
                <ul>
                    <li><strong>{$Think.lang.ds_order_sn}:</strong>{$order_info.order_sn}</li>
                    <li><strong>{$Think.lang.order_state}:</strong>{$order_state[$order_info.order_state]}</li>
                    <li><strong>订单类型:</strong>{$order_type[$order_info.order_type]}</li>
                    <li><strong>订单创建时间:</strong>{$order_info.add_time|date="Y-m-d H:i:s",###}</li>
                    <li><strong>订单备注:</strong>{$order_info.remarks}</li>
                    <li><strong>买家账号:</strong>{$order_info.member_name}</li>
                    <li><strong>运营商:</strong>{$order_info.invite_store_name}</li>
                </ul>
            </td>
        </tr>
        <form id="store_form" method="post" novalidate="novalidate">
            <table class="ds-default-table">
                <!--店主账号-->
                <tbody>
                <input type="hidden" name="order_id" value={$order_info.order_id} >
                <tr class="noborder" style="background: rgb(255, 255, 255);">
                    <td class="required">退款金额: </td>
                    <td class="vatop rowform"><input type="text" name="refund_amount" id="refund_amount" class="txt"></td>
                    <td class="vatop tips">请输入退款金额</td>
                </tr>
                </tbody>
                <tfoot>
            <tr class="tfoot">
                <td colspan="15"><input class="btn" type="submit" value="提交"></td>
            </tr>
            </tfoot>
            </table>
        </form>
        </tbody>
    </table>
</div>
<script>
    $(document).ready(function () {
        $("form").submit(function (e) {
            var refund_amount = $('#refund_amount').val();
            if (refund_amount == '') {
                layer.msg('请填写退款金额');
                return false;
            }
        });
    });

</script> 